package com.zh.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zh.system.domain.entity.SysDicType;
import com.zh.system.domain.entity.SysDicValue;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.math.BigInteger;
import java.util.List;

@Mapper
public interface SysDicTypeMapper extends BaseMapper<SysDicType> {
    List<SysDicValue> selectValuesByType(@Param("type") String type);

    Integer selectSubTypeCount(@Param("id") Long id);


    List<SysDicType> selectAll();

    void permanentlyDelete();
}
